public class Stu {
    //学生类
    private int no;//学号
    private String name;//姓名
    private int score;//成绩
    private String clazz;//班级
    private String course;//学科编号
    //构造函数

    public Stu() {
    }

    public Stu(int no, String name, int score, String clazz,String course) {
        this.no = no;
        this.name = name;
        this.score = score;
        this.clazz = clazz;
        this.course=course;
    }

    @Override
    public String toString() {
        return "Stu{" +
                "no=" + no +
                ", name='" + name + '\'' +
                ", score=" + score +
                ", clazz=" + clazz +
                ", course='" + course + '\'' +
                '}';
    }


    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public String getCourse() {
        return course;
    }

    public void setCourse(String course) {
        this.course = course;
    }
}
